
const state = {
  selectedAddress: -1,
  selectlist: false
}

// mutations
const mutations = {
  setSelectedAddress (state, index) {
    state.selectedAddress = index
    console.log(state.selectedAddress)
  },
  setselectlist (state, index) {
    state.selectlist = index
    console.log(state.selectlist)
  }
}

export default {
  namespaced: true,
  state,
  mutations
}
